package com.shkco.basic.mapper;


import com.shkco.basic.query.BaseQuery;

import java.util.List;

public interface BaseMapper<T> {
    
    void add(T t);

    void del(Long id);

    void update(T t);

    T findById(Long id);

    List<T> findAll();

    Integer queryCount(BaseQuery baseQuery);

    List<T> queryData(BaseQuery baseQuery);

    void patchDel(List<Long> ids);
}
